﻿using Coldairarrow.Entity.Order;
using Coldairarrow.IBusiness;
using Coldairarrow.IBusiness.Order;
using Coldairarrow.Util;
using EFCore.Sharding;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Order
{
    public class BTB_RefundDetailsBusiness : BaseBusiness<BTB_RefundDetails>, IBTB_RefundDetailsBusiness, ITransientDependency
    {
        readonly IOperator _operator;
        public BTB_RefundDetailsBusiness(IDbAccessor db, IOperator @operator)
            : base(db)
        {
            _operator = @operator;
        }

        public Task AddDataAsync(BTB_RefundDetails data)
        {
            throw new NotImplementedException();
        }

        public async Task UpdateAsync(BTB_RefundDetails data)
        {
            await Db.UpdateAsync(data);
        }
    }
}
